* alloc.c: Use EMACS_INT, not int, to count objects.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Jun 2011 18:43:44 +0000 (11:43 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Jun 2011 18:43:44 +0000 (11:43 -0700)
commit9241c8c7d040d94a3fbf1bb0f0f3b319351a6d7e
treef7bc04b5e9ee5d46e8bdb725eac73a8f6faa2004
parente394a1aec6b487645b7ccad894fb2923159cbf16
* alloc.c: Use EMACS_INT, not int, to count objects.

(total_conses, total_markers, total_symbols, total_vector_size)
(total_free_conses, total_free_markers, total_free_symbols)
(total_free_floats, total_floats, total_free_intervals, total_intervals)
(total_strings, total_free_strings):
Now EMACS_INT, not int.  All uses changed.
(Fgarbage_collect): Compute overall total using a double, so that
integer overflow is less likely to be a problem.  Check for overflow
when converting back to an integer.
src/ChangeLog
src/alloc.c